// samsting : this file is auto create.

#include "Sts/2015-04-01/AssumeRoleWithServiceIdentityRequest.h"

namespace aliyun { namespace Sts {

AssumeRoleWithServiceIdentityRequest::AssumeRoleWithServiceIdentityRequest() : RpcAcsRequest("Sts", "2015-04-01", "AssumeRoleWithServiceIdentity") {
}

int64 AssumeRoleWithServiceIdentityRequest::GetDurationSeconds(void) const {
  return DurationSeconds_;
}
void AssumeRoleWithServiceIdentityRequest::SetDurationSeconds(int64 DurationSeconds) {
  DurationSeconds_ = DurationSeconds;
  PutQueryParameter("DurationSeconds", string_ValueOfInt64(DurationSeconds_));
}

const string& AssumeRoleWithServiceIdentityRequest::GetPolicy(void) const {
  return Policy_;
}
void AssumeRoleWithServiceIdentityRequest::SetPolicy(const string& Policy) {
  Policy_ = Policy;
  PutQueryParameter("Policy", Policy_);
}

const string& AssumeRoleWithServiceIdentityRequest::GetRoleArn(void) const {
  return RoleArn_;
}
void AssumeRoleWithServiceIdentityRequest::SetRoleArn(const string& RoleArn) {
  RoleArn_ = RoleArn;
  PutQueryParameter("RoleArn", RoleArn_);
}

const string& AssumeRoleWithServiceIdentityRequest::GetRoleSessionName(void) const {
  return RoleSessionName_;
}
void AssumeRoleWithServiceIdentityRequest::SetRoleSessionName(const string& RoleSessionName) {
  RoleSessionName_ = RoleSessionName;
  PutQueryParameter("RoleSessionName", RoleSessionName_);
}

const string& AssumeRoleWithServiceIdentityRequest::GetAssumeRoleFor(void) const {
  return AssumeRoleFor_;
}
void AssumeRoleWithServiceIdentityRequest::SetAssumeRoleFor(const string& AssumeRoleFor) {
  AssumeRoleFor_ = AssumeRoleFor;
  PutQueryParameter("AssumeRoleFor", AssumeRoleFor_);
}


} } // namespace aliyun { namespace Sts {

// end of file 
